package org.example.auth.contract.request;

import lombok.Getter;
import lombok.Setter;
import org.example.auth.enums.AuthorityType;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

@Getter
@Setter
public class AuthorityRequestForSave {
    private String code;

    private String name;
    @NotNull
    private AuthorityType authorityType;

    @NotBlank
    private String content;
    private Long parentId;
}
